find the sum of digits